package com.niiwoo.civet.trade.dao.mapper;


import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.niiwoo.civet.trade.dao.entity.RateConfig;
import com.niiwoo.civet.trade.enums.ProjectTypeEnum;

public interface RateConfigMapperExt extends RateConfigMapper{
    RateConfig queryRateConfigByDeadline(@Param("deadline")Integer deadline, @Param("configType") Byte configType);

    List<RateConfig> getRateConfigByType(Byte configType);

    BigDecimal getMaxRateConfig();
    
    List<RateConfig> getRateConfigByEnum(List<ProjectTypeEnum> configTypeEnums);
}